<?php
namespace app\admin\model;

use think\Model;
use app\admin\model\Loudong;

class Message extends Model{
	
	protected $table = "house_message";
	protected $pk = 'id';
	public function loudong(){
		return	$this->hasOne('loudong','id','lid');
	}
	public function user(){
		return	$this->hasOne('user','id','user_id');
	}
}
